<!-- theme.vue -->
<script setup lang="ts">
import { useTheme } from '@/hooks/useTheme'
// import WdConfigProvider from '@/uni-modules/wot-design-uni/components/wd-config-provider/wd-config-provider.vue'

const { theme, themeVars } = useTheme()
</script>

<template>
  <wd-config-provider :theme="theme" :theme-vars="themeVars">
    <view class="min-h-100vh">
      <slot />
    </view>
  </wd-config-provider>
</template>
